import {RouterModule, Routes} from '@angular/router';
import {NgModule} from '@angular/core';
import {ConIndexShowImgComponent} from './con-index-showImg.component';

const routes: Routes = [
    {path: '', component: ConIndexShowImgComponent,
        children: [
            {path: '', redirectTo: 'list', pathMatch: 'full'},
            {path: 'add', loadChildren: './add-con-index-showImg/add-con-index-showImg.module#AddConIndexShowImgModule'},
            {path: 'list', loadChildren: './list-con-index-showImg/list-con-index-showImg.module#ListConIndexShowImgModule'},
            {path: 'modify', loadChildren: './modify-con-index-showImg/modify-con-index-showImg.module#ModifyConIndexShowImgModule'},
            {path: 'report', loadChildren: './report-con-index-showImg/report-con-index-showImg.module#ReportConIndexShowImgModule'},
        ]
    }
];

@NgModule({
    imports: [RouterModule.forChild(routes)],
    exports: [RouterModule]
})
export class ConIndexShowImgRoutingModule {
}
